package com.project.pojo.model;

import lombok.Data;
import org.hibernate.validator.constraints.NotBlank;

/**
 * @Description: 用户注册入参类
 * @Author: zhuchi
 * @CreateDate: 2020/6/17 17:59
 * @Version: 1.0
 */
@Data
public class UserRegisterModel {

    /**
     * 昵称
     */
    @NotBlank(message = "{validation.wxNickname}")
    private String wxNickname;

    /**
     * 头像
     */
    private String wxPortrait;

    /**
     * 邀请码
     */
    @NotBlank(message = "{validation.invitationCode}")
    private String invitationCode;

    /**
     * 手机号码
     */
    @NotBlank(message = "{validation.mobile}")
    private String mobile;

    /**
     * 密码
     */
    @NotBlank(message = "{validation.password}")
    private String password;

    /**
     * 验证码
     */
//    @NotBlank(message = "{validation.code}")
    private String code;

    /**
     * 注册令牌
     */
    @NotBlank(message = "{msg.registerKey}")
    private String registerKey;

    /**
     * 图形验证码
     */
    @NotBlank(message = "{msg.pleaseFillImgCode}")
    private String imgCode;

}
